<div class="{$class_row|default='mb-3'}">
  <label class="{$class_label|default='form-label'}" for="{$name}">{$title}</label>
  {if $class_col}<div class="{$class_col}">{/if}
  <input {if $readonly}readonly{/if} {if $disabled} disabled{/if} {if $required} required{/if} {if $autofocus} autofocus{/if} type="password" class="{$class_input|default='form-control'}" id="{$id}" name="{$name}" value="{$value}" placeholder="{$placeholder}" maxlength="{$maxlength}" autocomplete="{$autocomplete|xfSwitch}">
  {if $class_col}</div>{/if}
  {if $tips}<div class="{$class_tips|default='form-text'}">{$tips}</div>{/if}
</div>